<?php
function dump($res)
{
    echo "<pre>";
    var_dump($res);
    echo "</pre>";
}

class Base
{
}

class Search extends Base
{
    public $a = 'a';

    public function a($a='a')
    {
        $this->a = $a;
    }
    public function b($b='b')
    {
        $this->b = $b;
    }
}

class Form extends Base
{
}

$A = new Search();
$A->b('bbbb');
dump($A);
